package umn.angrypenguins.monopoly.models;

import java.io.Serializable;
import java.util.ArrayList;

/**
 * Created with IntelliJ IDEA.
 * User: Chris Seeling
 * Date: 5/1/12
 * Time: 7:43 PM
 * To change this template use File | Settings | File Templates.
 */
public class GameInstance implements Serializable {

    private static final long serialVersionUID = 1L;

    private int id;
    private String name;
    private double startMoney;
    private PlayerInstance creator;
    private ArrayList<PlayerInstance> players;

    public GameInstance() {
        name = "";
        creator = null;
        players = new ArrayList<PlayerInstance>();
    }

    public GameInstance(String name) {
        this.name = name;
        creator = null;
        players = new ArrayList<PlayerInstance>();
    }

    public int getId() {
        return id;
    }
    
    public void setId( int id ) {
        this.id = id;
    }
    
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getStartingMoney() {
        return startMoney;
    }

    public void setStartingMoney(double startingMoney) {
        this.startMoney = startingMoney;
    }

    public PlayerInstance getCreator() {
        return creator;
    }

    public void setCreator(PlayerInstance creator) {
        this.creator = creator;
    }

    public ArrayList<PlayerInstance> getPlayers() {
        return players;
    }

    public void setPlayers(ArrayList<PlayerInstance> players) {
        this.players = players;
    }
}
